<!-- upload -->
<div data-role="page" id="popupUpload" class="ui-corner-all">
    <div data-role="header" data-theme="d" class="ui-corner-top">
        <h1>New photo</h1>
    </div>
    <div data-role="content" data-theme="d" style="padding:15px;">
        <h3>Choose a photo</h3>
        <form method="POST" id="AVform" action="javascript:true;" enctype="multipart/form-data" accept-charset="utf-8">
            <input type="file" name="image" data-theme="a"/>
            <input type="hidden" name="aid"/>
            <button id="AVsubmit" type="submit" data-theme="a">Continue</button>
        </form>
    </div>
</div>
<!-- upload -->